package com.chang.soul.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author : xiaoqingyang@vip.henu.edu.cn
 * @date : 10:24 2021/3/19
 */

@Data
/*@ApiModel：用在模型类上，对模型类做注释；*/
@ApiModel(value = "用户表",description = "")
public class UserBean {

    @Id
    @ApiModelProperty(value = "主键id UUID*")
    /*@ApiModelProperty：用在属性上，对属性做注释*/
    private int id;

    @ApiModelProperty(value = "用户昵称*")
    private String nickName;

    @ApiModelProperty(value = "用户姓名*")
    private String realName;

    @ApiModelProperty(value = "用户密码*")
    private String Password;

    @ApiModelProperty(value = "用户性别*，0保密，1男，2女")
    private int gender;

    @ApiModelProperty(value = "用户年龄*")
    private int age;

    @ApiModelProperty(value = "用户电话*")
    private String Phone;

    @ApiModelProperty(value = "用户头像")
    private String Avatar;

    @ApiModelProperty(value = "用户简介")
    private String Brief;
}
